<template>
    <view>
        <u-gap height="20rpx"></u-gap>
        <a-list-layout ref="layout" :params="queryParams" #default="data" request_url="/order/orderList">
            <m-list-team open_button v-for="(item, index) in data.lists" :item="item" :key="index" close></m-list-team>
        </a-list-layout>
    </view>
</template>
<script setup>
import { ref, reactive, nextTick } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
/* 上拉加载开始*/
const layout = ref(null);
const queryParams = reactive({
    state:2 //0已结单1已完成
});
onLoad(async (options) => {
    await nextTick();
    layout.value.getLists();
});
/* 上拉加载结束*/
</script>
